namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Customer")]
    public partial class Customer
    {
        public int Id { get; set; }

        [Required]
        [StringLength(32)]
        public string CustName { get; set; }

        [Required]
        [StringLength(32)]
        public string Pwd { get; set; }

        [StringLength(32)]
        public string Sex { get; set; }

        [StringLength(10)]
        public string Phone { get; set; }

        public DateTime? Birthday { get; set; }

        [StringLength(32)]
        public string Isstate { get; set; }
    }
}
